class CreateProjects < ActiveRecord::Migration
  def self.up
    create_table :projects, :options => 'ENGINE=InnoDB DEFAULT CHARSET=UTF8' do |t|
      t.string :name, :activity, :last_build_status, :last_build_label
      t.datetime :last_build_time, :next_build_time
      t.timestamps
    end
  end

  def self.down
    drop_table :projects
  end
end
